<?php 
/**
* 猫类
*/
class Dog extends Animal
{
	public $name="狗";
	public static $num=0;
	public function liu()
	{
		echo "可以溜";
	}
	public function chi()
	{
		self::del();
		echo "dog可以吃";
	}

	public function add()
	{
		// parent::show();
		// self::$num++;
		echo self::$num;
	}

	public static function del()
	{
		echo "888";
	}
}

?>